Skip to content

Instantly share code, notes, and snippets.

@ryanhossain9797
ryanhossain9797 / windows_activation.md
Created February 11, 2025 17:23 — forked from bramada/windows_activation.md
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

import itertools
import random
import time
A = 0x5deece66d
B = 11
LCG_MOD_POW = 48
M = 2**LCG_MOD_POW
BIG_MASK = M - 1
@q3cpma
q3cpma / anonymize_pdf.sh
Last active March 11, 2026 23:40
Anonymize PDFs
#!/bin/sh
# Portability: Linux, *BSD, MacOS, Illumos (mktemp -d)
# Dependencies: Tcl (>=8.5), exiftool, mutool or qpdf
set -eu
echo() { printf '%s\n' "$*"; }
die() { echo "$@" >&2; exit 1; }
has_cmd() { command -v "$1" >/dev/null; }
usage()
@amanjuman
amanjuman / windows10activation
Last active March 11, 2026 23:40
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
@wokalek
wokalek / .bash_aliases
Last active March 11, 2026 23:37
My best bash aliases
# Bash
alias c="clear"
alias d="exit"
alias beep='powershell "[console]::beep(500,300)"'
alias nvm="fnm"
# Git
alias gl="git log"
alias gg="git log --oneline --graph --all"
alias gs="git status"
@byt3bl33d3r
byt3bl33d3r / cc_voice_mode.py
Last active March 11, 2026 23:32
Python script that uses Claude Code's voice mode STT web socket URL to transcribe voice to text (requires Claude Code subscription)
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "websockets",
# ]
# ///
"""
Claude Code Voice Mode β€” Python Proof of Concept
@rxaviers
rxaviers / gist:7360908
Last active March 11, 2026 23:21
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@mathix420
mathix420 / medium.user.js
Last active March 11, 2026 23:19
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@natowi
natowi / audio2midi.md
Last active March 11, 2026 23:11
List of open source audio to midi packages
@madhums
madhums / config.ini
Last active March 11, 2026 23:11
install android sdk on linux (without installing android studio)
# ~/.android/avd/<NAME_OF_AVD>/config.ini
PlayStore.enabled = no
abi.type = x86_64
avd.id = <build>
avd.ini.encoding = UTF-8
avd.name = <build>
disk.cachePartition = yes
disk.cachePartition.size = 66MB
disk.dataPartition.path = <temp>